﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace FasterFood
{
    public partial class MainMenu : UserControl
    {
        public MainMenu()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            Form1.foodPages[1].Visible = false;
            Form1.foodPages[2].Visible = true;
        }

        private void button2_Click(object sender, EventArgs e)
        {
            Form1.foodPages[1].Visible = false;
            Form1.foodPages[3].Visible = true;
        }

        private void button3_Click(object sender, EventArgs e)
        {
            Form1.foodPages[1].Visible = false;
            Form1.foodPages[4].Visible = true;
        }

        private void button4_Click(object sender, EventArgs e)
        {
            Form1.foodPages[1].Visible = false;
            Form1.foodPages[5].Visible = true;
        }

        private void button5_Click(object sender, EventArgs e)
        {
            Form1.foodPages[1].Visible = false;
            Form1.foodPages[6].Visible = true;
        }
    }
}
